const express = require('express')
const ajax = express.Router()
// const {sql} = require('../../data/mysqldata')

ajax.use((req, res, next) => {
  console.log(`time${Date.now()}`)
  next()
})

ajax.get('/a', (req, res) => {
  // sql()
  res.send('ajax')
})


module.exports = ajax